constify vcpu_set_affinity()'s second parameter
authorJan Beulich <jbeulich@suse.com>
Thu, 13 Oct 2011 08:00:13 +0000 (10:00 +0200)
committerJan Beulich <jbeulich@suse.com>
Thu, 13 Oct 2011 08:00:13 +0000 (10:00 +0200)
commitb569c46bb3153903d59f3eeefc19ee046dab75e0
tree53c94fb97f7fc70e658ac6d529e7ae9ab89b055b
parent2a869011d4ee6e0adf5246734d148e7ad68a0d84
constify vcpu_set_affinity()'s second parameter

None of the callers actually make use of the function's returning of
the old affinity through its second parameter, and eliminating this
capability allows some callers to no longer use a local variable here,
reducing their stack footprint significantly when building with large
NR_CPUS.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Acked-by: Keir Fraser <keir@xen.org>
xen/arch/x86/cpu/mcheck/vmce.c
xen/arch/x86/traps.c
xen/common/schedule.c
xen/include/xen/sched.h